package joonany.basic;

public class J02_Math2Java {

	public static void main(String[] args) {
		
		int x, y, z, s, v, t, g;
		x = 3; y = 4; z = 8; s = 1; v = 2; g = 3; t = 2;		
		
		System.out.println("3x = " + 3 * x);
		System.out.println("3x + y =" + (3 * x) + y);
		System.out.println("(x + y) / 7" + (x + y) / 7);
		System.out.println("(3x + y) / (z + 2)" + ((3 * x) + y) / (z + 2));
		System.out.println("s = s + (v * t) + (g * (t * t)) / 2" + s + (v * t) + (g * (t * t)) / 2);
		
	}

}
